﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using System.ServiceModel.Description;
using System.Configuration;

namespace EPS.UI
{
    public class EarthChannelFactory<T> : ChannelFactory<T>
    {

        private string endpointName;

        public EarthChannelFactory()
        {
            endpointName = typeof(T).FullName;
        }


        public T CreateEarthChannel()
        {

            return CreateChannel(endpointName);
        }

    }
}
